package com.lwj.test.statics;

public class StaticDemo {

	public static String name;
	public static int num;
	
	public StaticDemo(){
		
	}
	public StaticDemo(String name, int num){
		this.name = name;
		this.num = num;
	}
	
	public void setValue(String name, int num){
		this.name = name;
		this.num = num;
	}
	
	public void print(){
		System.out.println(this.name+"-----"+this.num);
	}
}
